package com.jake.springboot.threadpool.util;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ThreadUtils {

    public static void sleep(int milliSec) {
        try {
            Thread.sleep(milliSec);
        } catch (InterruptedException e) {
            log.error("线程睡眠时出现异常", e);
        }
    }
}
